package info.touret.winecellar.servlet;

import info.touret.winecellar.dao.server.DAOModule;

import com.google.inject.Guice;
import com.google.inject.Injector;
import com.google.inject.servlet.GuiceServletContextListener;

public class GuiceListener extends GuiceServletContextListener{

	@Override
	protected Injector getInjector() {
		Injector injector = null;
		injector = Guice.createInjector(new DAOModule());
		return injector;
	}

}
